package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_building_dispatch", desc = "商铺派遣", autoSave = true, uploadCk = true)
public class LogBuildingDispatch extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家Id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商铺Id")
    private int buildingId;
    @FieldTypeAnnotation(desc = "操作（1：派遣；0：撤回）")
    private int opts;
    @FieldTypeAnnotation(desc = "门客Id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "门客赚钱")
    private String patronsAbility;

    public LogBuildingDispatch(long userId, int buildingId, int opts, int patronsId, String patronsAbility) {
        this.userId = userId;
        this.buildingId = buildingId;
        this.opts = opts;
        this.patronsId = patronsId;
        this.patronsAbility = patronsAbility;
    }

    public long getUserId() {
        return userId;
    }

}
